{% extends './detail_form_base.html' %}
{% load crispy_forms_tags %}

{% block crumbs-extend %}
    {% with status=am.status status_verbose=am.status_verbose %}
        {% include 'components/am_badge.html' %}
    {% endwith %}
{% endblock %}


{% block by6-modal-xl-body %}
    {% crispy audit_form %}
{% endblock %}

{% block body-form-before %}
    {% if am.status == 'rejected' %}
        <div class="tw:text-red-400">
            {% trans '审核备注' %}: {%  if am.comment %} {{ am.comment }} {% else %} {% trans '无' %} {% endif %}
        </div>
    {% endif %}
{% endblock %}

